﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BabyShop.Site.ViewModels
{
    public class UploadViewModel
    {
        private string _inputName = "filedata";
        public string InputName
        {
            get { return _inputName; }
            set { _inputName = value; }
        }

        private string _attachDir = "upload";
        public string AttachDir
        {
            get { return _attachDir; }
            set { _attachDir = value; }
        }

        private int _dirType = 1;
        public int DirType
        {
            get { return _dirType; }
            set { _dirType = value; }
        }

        private int _maxAttachSize = 2097152;
        public int MaxAttachSize
        {
            get { return _maxAttachSize; }
            set { _maxAttachSize = value; }
        }

        private string _upExt = "txt,rar,zip,jpg,jpeg,gif,png,swf,wmv,avi,wma,mp3,mid";
        public string UpExt
        {
            get { return _upExt; }
            set { _upExt = value; }
        }

        private int _msgType = 2;
        public int MsgType
        {
            get { return _msgType; }
            set { _msgType = value; }
        }

        private int _immediate = 1;
        public int Immediate
        {
            get { return _immediate; }
            set { _immediate = value; }
        }
    }
}